package com.kexuexiong.demo.bear.elasticsearch.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ESSearchDTO {

    @ApiModelProperty(name = "pageNumber")
    private Integer pageNumber;

    @ApiModelProperty(name = "pageSize")
    private Integer pageSize;

    @ApiModelProperty(name = "keyword")
    String keyword;

    @ApiModelProperty(name = "highlightFields")
    List<String> highlightFields;
}
